﻿using System;
using System . Collections . Generic;
using System . Collections . ObjectModel;
using System . Linq;
using System . Text;
using System . Threading . Tasks;
using System . Xml . Linq;

namespace GameClassLibrary . Maps

{
    public class Area : MapObject
    {
        [SaveReferenceList]
        public List<Buffs . AreaBuff> Buffs { get; set; }

        [SaveReference]
        public Road Position { get; set; }

        [SaveReference]
        public Players . Player Owner { get; set; }

        [SaveValue]
        public Building Building { get; set; }

        public long Price { get; set; }

        public override void UpdateView ( )
        {
            throw new NotImplementedException ( );
        }

        public override void NextDay ( )
        {
            throw new NotImplementedException ( );
        }


        public Area ( XElement saving ) : base ( saving )
        {

        }


        public override XElement Save ( )
        {
            throw new NotImplementedException ( );
        }
    }
}
